package com.ktjy.service;

import com.ktjy.entity.Information;
import com.ktjy.entity.Page;
import com.ktjy.entity.R;

import java.util.List;

public interface InformationService {
    //分页查询
    Page findPageVo(Information information, Integer pageNo, Integer pageSize);
    //删除
    int delete(Long id);
    //添加
    int insert(Information information);
    //增加查看数
    int updateContent(Long id);
    //增加回复数
    int updateReplyCount(Long id);
    //查看回复内容
    List<Information> selectByRep(Long id);
}
